-- GENERATED SPELL FOR [Darkmist Spider] --


function spell0_4376(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4376', 30000, 1)
end

function Sorts_4376(pUnit, Event)
local choix_sorts_4376 = math.random(0, 0)
if choix_sorts_4376 == 0 then
pUnit:RegisterEvent('spell0_4376', 1, 1)
end
end

function mob4376_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4376', math.random(1500, 3000), 1)
end

function mob4376_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4376_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4376_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4376, 1, 'mob4376_Action')
RegisterUnitEvent(4376, 2, 'mob4376_Leave')
RegisterUnitEvent(4376, 3, 'mob4376_Kill')
RegisterUnitEvent(4376, 4, 'mob4376_Die')
